package com.gang.antsso.saml.controller;

import com.gang.antsso.saml.api.ErrorController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.web.servlet.error.ErrorAttributes;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/error")
public class SpErrorController extends ErrorController {

    @Autowired
    public SpErrorController(ErrorAttributes errorAttributes) {
        super(errorAttributes);
    }
}
